<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		var obj = new Object();
		obj.name = "属性值1"
		console.log(obj);
		console.log(obj["name"]);
		console.log(obj.name);
		
		var obj = new Object();
		obj.name = "属性值1"
		console.log("name" in obj); // true
	</script>
</html>
